<div class="form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'newsflash-form',
        'enableAjaxValidation' => false,
        'htmlOptions' => array('enctype' => 'multipart/form-data'),
        
            ));
    ?>

    <p class="note">Fields with <span class="required">*</span> are required.</p>


    <div class="row">
      
        <?php
        $this->widget('CMultiFileUpload', array(
            'name' => 'image',
            'accept' => 'jpeg|jpg|gif|png', // useful for verifying files
            'duplicate' => 'Duplicate file!', // useful, i think
            'denied' => 'Invalid file type', // useful, i think
        ));
       
        ?>
    </div>



    <div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
    </div>

<?php $this->endWidget(); ?>

</div><!-- form -->